{$define UNIGUI_VCL} // Comment out this line to turn this project into an ISAPI module

{$ifndef UNIGUI_VCL}
library
{$else}
program
{$endif}
  wiUniGUI;

uses
  FastMMInitSharing,
  uniGUIISAPI,
  Forms,
  libBasic_CustomD in '..\BASE\DM\libBasic_CustomD.pas' {dmBasic_Custom: TDataModule},
  libMaintenance_CustomD in '..\BASE\DM\libMaintenance_CustomD.pas' {dmMaintenance_Custom: TDataModule},
  libEntry_CustomD in '..\BASE\DM\libEntry_CustomD.pas' {dmEntry_Custom: TDataModule},
  MainA in 'MainA.pas',
  libBasic_CustomA in '..\BASE\FR\libBasic_CustomA.pas' {frBasic_Custom: TUniFrame},
  Main in 'Main.pas' {MainForm: TUniForm},
  MainModule in 'MainModule.pas' {UniMainModule: TUniGUIMainModule},
  ServerModule in 'ServerModule.pas' {UniServerModule: TUniGUIServerModule},
  libParamsU in '..\BASE\Unit\libParamsU.pas',
  libSysFunctionU in '..\BASE\Unit\libSysFunctionU.pas',
  libTypesU in '..\BASE\Unit\libTypesU.pas',
  libPublicImportDllU in '..\DLL\libPublicImportDllU.pas',
  libPublicInterfaceU in '..\DLL\libPublicInterfaceU.pas',
  libFunctionListU in '..\BASE\Unit\libFunctionListU.pas',
  libMaintenance_CustomA in '..\BASE\FR\libMaintenance_CustomA.pas' {frMaintenance_Custom: TUniFrame},
  libFunction_CustomA in '..\BASE\FR\libFunction_CustomA.pas' {frFunction_Custom: TUniFrame},
  LoginD in 'LoginD.pas' {dmLogin: TDataModule},
  LoginF in 'LoginF.pas' {frmLogin: TUniLoginForm},
  libTreeViewU in '..\BASE\Unit\libTreeViewU.pas',
  EapMenuTreeA in '..\APP\EAP\EAP_MenuTree\FR\EapMenuTreeA.pas' {frEapMenuTree: TUniFrame},
  EapMenuTreeD in '..\APP\EAP\EAP_MenuTree\DM\EapMenuTreeD.pas' {dmEapMenuTree: TDataModule},
  ProcessReportingA in '..\APP\FC\FC_ProcessReporting\FR\ProcessReportingA.pas' {frProcessReporting: TUniFrame},
  ProcessReportingD in '..\APP\FC\FC_ProcessReporting\DM\ProcessReportingD.pas' {dmProcessReporting: TDataModule};

{$R *.res}

{$ifndef UNIGUI_VCL}
exports
  GetExtensionVersion,
  HttpExtensionProc,
  TerminateExtension;
{$endif}

begin
{$ifdef UNIGUI_VCL}
  ReportMemoryLeaksOnShutdown := True;
  Application.Initialize;
  TUniServerModule.Create(Application);
  Application.Run;
{$endif}
end.
